<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>CSS clip-path Examples</title>
  <style>
    .container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      padding: 20px;
    }
    
    .shape {
      width: 200px;
      height: 200px;
      background-color: #3498db;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: Arial, sans-serif;
      transition: clip-path 0.5s ease;
    }
    
    .shape:hover {
      clip-path: none !important;
    }
    
    .circle {
      clip-path: circle(50%);
    }
    
    .ellipse {
      clip-path: ellipse(30% 40%);
    }
    
    .inset {
      clip-path: inset(20%);
    }
    
    .polygon-triangle {
      clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    }
    
    .polygon-diamond {
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    
    .polygon-star {
      clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    }
    
    .text {
      text-align: center;
      margin-top: 20px;
      font-family: Arial, sans-serif;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="shape circle">Circle</div>
    <div class="shape ellipse">Ellipse</div>
    <div class="shape inset">Inset</div>
    <div class="shape polygon-triangle">Triangle</div>
    <div class="shape polygon-diamond">Diamond</div>
    <div class="shape polygon-star">Star</div>
  </div>
  
  <div class="text">
    <p>Hover over any shape to see the original rectangle.</p>
  </div>
</body>
</html>
